<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:p="http://primefaces.prime.com.tr/ui">

 
	<ui:composition template="/templates/user/content.xhtml">
		<ui:define name="pageTitle">User Account Control</ui:define>
		<ui:define name="body">
	<div class="container_24">
		<div class="wrapper">
			<ui:include src="/templates/user/sidebar_for_user.xhtml" />
			<div class="grid_17">
				<div class="inside">
					<article>
					<header>
						<h2>User Profile</h2>
					</header>
		
					<p:tabView rendered="#{mAccount.view_user_profile('123') == 'Found'}">
						<p:tab title="User Profile">
							<ui:include src="/templates/user/view_user_profile.xhtml" />
						</p:tab>
						<p:tab title="Properties by user">
							<ui:include src="/templates/user/properties_by_user.xhtml" />
						</p:tab>
					</p:tabView>
					<rich:message id="user_not_found" style="margin-left:20px;float:left;font-size:15px;"></rich:message>
					</article>
				</div>
			</div>
		</div>
	</div>
</ui:define>
</ui:composition>


</html>
